﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NLog;
using Quartz;
using Quartz.Impl;

namespace TimerJob.ConsoleHost
{
    class Program
    {
        private static IScheduler _scheduler;
        private static readonly Logger Logger = LogManager.GetCurrentClassLogger();

        static void Main(string[] args)
        {
            ISchedulerFactory sf = new StdSchedulerFactory();
            _scheduler = sf.GetScheduler();
            //sched.AddGlobalJobListener(new JobSchedulerListener());
            //sched.AddSchedulerListener(new SheduleListener());
            _scheduler.Start();

            Console.ReadKey();
        }
    }
}
